.es-demo-block {
    width: 100%;
    border: 1px solid #ececec6b;
    border-radius: 8px;
    margin-bottom: 20px;
}

.es-demo-block-area {
    padding: 16px 20px;
    overflow-x: auto;
}

.es-demo-block-footer {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    border-top: 1px solid #ececec6b;
    font-size: 13px;
    padding: 10px 20px;
}

.es-demo-block-footer .es-icon-item {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 24px;
    height: 24px;
    margin-left: 10px;
    cursor: pointer;
    border-radius: 4px;
}

.es-demo-block-footer .es-icon-item .bp-icon {
    width: 16px;
    height: 16px;
    transition: all 0.2s ease;
}

.es-demo-block-footer .es-icon-item:not(:first-child) {
    margin-left: 4px;
}

.es-demo-block-footer .es-icon-item:hover {
    background-color: #ececec6b;
    transition: all 0.2s ease;
}

.es-demo-block-footer .es-icon-item:hover .bp-icon {
    transition: all 0.2s ease;
}

.es-demo-block-footer .active {
    background-color: #ececec6b;
    transition: all 0.2s ease;
}

.es-demo-block-footer .active:hover {
    background-color: #ececec6b;
    transition: all 0.2s ease;
}

.es-demo-block-source {
    max-height: 0;
    overflow: auto;
    padding: 0 20px;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
    transition: max-height 0.2s ease;
}

.es-demo-block-source-inner {
    font-size: 13px;
    max-height: 600px;
}

.es-demo-block-source-inner pre,
.es-demo-block-source-inner code {
    font-size: 13px !important;
}

.es-demo-block .es-source-open {
    max-height: 1000px;
    border-top: 1px solid #ececec6b;
    transition: max-height 0.4s ease;
}
